package demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("major")
@Data
public class Major {
  @TableId(value = "mid",type = IdType.AUTO)
  private Integer mid;
  private String mname;
  private String mintrod;
  private String mcode;
}
